<!DOCTYPE html>
<html>
<head>
    {include file='public/meta'/}


    <link rel="stylesheet" href="__STATIC_URL__/static/css/addmchat.css"/>
    <link rel="stylesheet" href="__STATIC_URL__/static/css/bootstrapSwitch.css"/>

    <script src="__STATIC_URL__/static/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="__STATIC_URL__/static/js/bootstrapSwitch.js"></script>

    <style>
        thead tr th {
            text-align: center;
        }

        tbody tr td {
            text-align: center;
        }

        .content .panel-search {
            border: 1px solid #d0f2f7;
        }

        .panel-default > .panel-heading {
            background: #EEF8FC;
            color: #26929C;
        }
    </style>
</head>
<body>

{include file='public/header'/}
<!------------------导航-------------------------->
<section id="content">
    {include file='public/left'/}

    <!--------------------------主要内容区域------------------------------------->
    <div class="content">
        <div class="page-heading">
            <ul class="breadcrumb mgl15 mgr15">
                <li>当前位置是:</li>
                <li>
                    <a href="">会员卡管理</a>
                </li>
                <li class="active" style="color: #02b87f;">会员计次卡</li>
            </ul>
        </div>


        <div class="panel panel-default mgl15 mgr15">
            <div class="panel-heading addCharts" style="background:#ededed;">会员计次卡领取列表
            </div>

            <div class="panel-body">
                <table class="table table-bordered" data-toolbar="#toolbar">
                    <thead>
                    <tr>

                        <th data-type="1">商户ID</th>
                        <th data-type="2">领取ID</th>
                        <th data-type="3">变动类型</th>
                        <th data-type="4">变动数量</th>
                        <th data-type="5">变动方式</th>
                        <th data-type="6">变动时间</th>
                        <th data-type="7">订单号</th>
                        <th data-type="8">操作人</th>
                        <th data-type="9">用户ID</th>


                    </tr>
                    </thead>
                    <tbody>
                    {volist name="list" id="vo"}
                    <tr>

                        <td>{$vo.mid}</td>
                        <td>{$vo.lid}</td>
                        <td>{$vo.type}</td>
                        <td>{$vo.num}</td>
                        <td>{$vo.pay_fs}</td>
                        <td>{$vo.addtime}</td>
                        <td>{$vo.orderid}</td>
                        <td>{$vo.user}</td>
                        <td>{$vo.openid}</td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
            </div>

        </div>

    </div>
</section>



</body>



<!--设备列表 模型 开始-->

<!--设备列表 模型 结束-->

<script>
    function del(obj){
        var id=$(obj).attr("data-id");
        $.ajax({
            url:"{:url('cardjc/cardjcdel')}",
            type:"post",
            dataType:"json",
            data:{
                id:id
            },
            success:function(data){
                console.log(data);
                alert(data.msg);
                window.location.href = "{:url('cardjc/cardjclist')}";
            }
        })
    }
</script>
</html>
